package com.eastfair.venuebooking.api;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.eastfair.boot.request.PageParams;
import com.eastfair.core.base.R;
import com.eastfair.venueservice.dto.ExhibitionManageDTO;
import com.eastfair.venueservice.dto.ExhibitionManageQuery;
import com.eastfair.venueservice.dto.ServicePriceListQuery;
import com.eastfair.venueservice.vo.ExhibitionManageVO;
import com.eastfair.venueservice.vo.ServicePriceListVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 展会Feign
 * @author linan
 */
@FeignClient(value = "venue-services-manage/servicePriceListItem")
public interface ServicePriceListFeign {

    /**
     * 通过展会id,系统编码查询价目
     *
     * @param query 通过展会id,系统编码查询价目
     * @return R
     */
    @PostMapping("/queryPriceListByExhibition")
    R<ServicePriceListVO> queryPriceListByExhibition(@RequestBody @Validated(ServicePriceListQuery.Query.class) ServicePriceListQuery query);
}
